// JavaScript Document

function timenow()
{
	var date= new Date();
	var date_now=date.getDate();
	var month_now=date.getMonth();
	var year_now=date.getYear();
	var hour_now=date.getHours();
	var minutes_now=date.getMinutes();
	var second_now=date.getSeconds();
	
	if(date_now<=9)
		date_now="0"+date_now;	
	if(year_now<1000)
		year_now=year_now+1900;
	if(hour_now<=9)
		hour_now="0"+hour_now;
	if(minutes_now<=9)
		minutes_now="0"+minutes_now;
	if(second_now<=9)
		second_now="0"+second_now;
		
	document.getElementById('tk_time').innerHTML=date_now+"-"+(month_now+1)+"-"+year_now+"&nbsp;|&nbsp;"+hour_now+":"+minutes_now+":"+second_now;
}

setInterval(timenow,1000);